SELECT filename FROM board ORDER BY idx DESC

INSERT INTO BOARD (idx, title, writer, regdate, count, CONTENT) 
VALUES (BOARD_SEQ.NEXTVAL, ?, ?, SYSDATE, 1, ?)

SELECT idx, title, writer, regdate, count, SYS.DBMS_LOB.SUBSTR(CONTENT) AS CONTENT
  FROM board
-- WHERE idx = 2;

UPDATE board SET
 count = (SELECT MAX(count) FROM board WHERE idx = 2) + 1
 WHERE idx = 2;


UPDATE board SET
			 CONTENT = ?;
 WHERE idx = ?;

DELETE FROM board WHERE idx = ?;

SELECT idx, title, writer, regdate, count,
			 SYS.DBMS_LOB.SUBSTR(CONTENT) AS CONTENT, filename
  FROM board
 WHERE idx = 84
FOR UPDATE;



